#include <iostream>

#include <boost/test/unit_test.hpp>

#ifndef BOOSTTESTUTILS_H_
#define BOOSTTESTUTILS_H_

#define MY_GRAPHSUPPORT_NS graph_support_4_boostunittes

#define IGNORE_TEST( m ) std::cout << "\n\tTest was ignored:\n\t\t" << m << "\n"; return;

#define TEST_CASE_REQUIRES( cond, msg ) \
	BOOST_CHECK_MESSAGE( cond, std::string( "Test case requirement fail: [" ) + #cond + "] " + msg + " == test was stopped." );\
	if ( !( cond ) )\
	{\
		return;\
	}\

#define TEST_CASE_REQUIRES_RETST( cond, msg, toret ) \
	BOOST_CHECK_MESSAGE( cond, std::string( "Test case requirement fail: [" ) + #cond + "] " + msg + " == test was stopped." );\
	if ( !( cond ) )\
	{\
		return toret;\
	}\

#endif /* BOOSTTESTUTILS_H_ */
